package com.javatom.notes.seata.xa.account.mapper;


import com.javatom.notes.seata.xa.account.pojo.AccountPojo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @description:
 * @author: 曾维录
 * @time: 2020/8/19 15:16
 */
@Mapper
public interface AccountMapper {
    @Insert("insert into account values (null,#{pojo.account},#{pojo.money})")
    int insert(@Param("pojo") AccountPojo accountPojo);
}
